html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    min-height: 100vh;
    display: grid;
    grid-template-columns: repeat(8, 2fr);
    grid-auto-rows: 2vw;
    background-color: rgb(218, 167, 134);
    background-image: url("Bilder/Mönster4.png");
    background-repeat: repeat;
}
a{text-decoration: none;
}
@font-face {
    font-family: "Butler";
    src: url("Font/Butler-Free-Med.otf");
}
@font-face {
    font-family: "Kenyan";
    src: url("Font/Kenyan Coffee Bd.otf");
}
@font-face {
    font-family: "Bank";
    src: url("Font/F25_Bank_Printer.otf");
}
@font-face {
    font-family:"Scaver";
    src: url("Scaver.ttf");
}
@font-face {
    font-family:"Modern";
    src: url("Font/Modern\ Romance.otf");
}
@font-face {
    font-family:"Creato";
    src: url("Font/CreatoDisplay-Light.otf");
}







.navbar {
    grid-column: 1/9;
    grid-row: 1/5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5.2vw;
    box-sizing: border-box;
    background-color: rgba(40, 25, 15, 0.55);
    position: relative;
    z-index: 10;
}
.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.nav-logo img {
    width: 15vw;
    height: 13vw;
    object-fit: contain;
    display: block;
    padding-top: 0.4vw;
}   
.nav-links {
    display: flex;
    align-items: center;
    gap: 3vw;
}
.nav-links a {
    color: white;
    font-family: "Bank";
    font-size: clamp(13px, 1vw, 18px);
    letter-spacing: 0.1vw;
    text-decoration: none;

    display: flex;
    align-items: center;

    transition: color 0.2s ease, transform 0.2s ease;
}
.nav-links a:hover {
    color: #d8b08c;
    transform: translateY(-1px);
}
.nav-links a img {
    width: 1.8vw;
    height: 1.8vw;
    min-width: 22px;
    min-height: 22px;
    object-fit: contain;
    display: block;
}
.nav-links a.aktiv {
    color: #d8b08c;
}







.Backgrund1{
    grid-column: 4/8;
    grid-row: 39/54;
    width: 45vw;
    height: 45vw;
    object-fit: cover;

}

.Backgrund11{
    grid-column: 2/6;
    grid-row: 39/54;
    width: 45vw;
    height: 45vw;
    object-fit: cover;

}
.Backgrund7{
    grid-column: 2/4;
    object-fit: cover;
    width: 40vw;
    grid-row: 7/14;
    height: 32vw;
}
.Backgrund8{
    grid-column: 4/8;
    object-fit: contain;
    width: 40vw;
    grid-row: 7/14;
}
.Backgrund8 h1{
    text-align: center;
    color: white;
    font-family: Butler;
    margin: 1.85vw;
}
.Backgrund8 h3{
    text-align: center;
    color: white;
    font-family: Scaver;
    margin: 1.2vw;
    letter-spacing: 0.1vw;
}
.Backgrund9{
    grid-column: 2/8;
    grid-row: 7/23;
    outline-offset: 0;
    outline-width: 0.2vw;
    outline-color: white;
    outline-style: solid;
}








.Backgrund2{
    grid-column: 1/9;
    grid-row: 25/38;
    background-color: white;
}
.Lista1{
    grid-column: 1/9;
    grid-row: 27/36;
    display: flex;   
    justify-content: center;
    margin: 0;
    padding: 0vw;
    gap: 4vw;
}
.Lista1 section{
    outline-offset: 0;
    outline-width: 0.2vw;
    outline-color: wheat;
    outline-style: solid;
    width: 18vw;
    height: 18vw;
    text-align: center;
    font-family: creato;
    font-size: 1.5vw;
    display: flex;
    justify-content: center;
    align-items: center;
}















.Backgrund10{
    grid-column: 1/9;
    grid-row: 61/72;
    background-image: url(Bilder/exempelbräda.jpg);
}
.Knapp1{
    grid-column: 3/6;   
    grid-row: 66/68;
    text-decoration: none;
    font-family: Butler;
    font-size: 2vw;
    text-align: center;
    margin: 0;
    color: black;
}







footer {
    background-color: rgb(40, 25, 15);
    color: white;
    grid-column: 1/9;
    grid-row: 64/71; padding: 3.5vw 8vw;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3vw; box-sizing: border-box;
}
footer img {
    width: 7vw;
    display: block;
    padding-top: 1.2vw;
}
.footer-brand p {
    font-family: "Butler";
    font-size: 1.1vw;
    margin-top: 1vw;
    color: white;
}
footer h4 {
    margin: 0 0 1.2vw;
    font-family: "Bank";
    font-size: 1.1vw;
    letter-spacing: 0.15vw;
    color: white;
    opacity: 0.55;
}
footer a {
    display: block;
    color: white;
    text-decoration: none;
    font-family: "Creato";
    font-size: 0.95vw;
    opacity: 0.75; 
    -bottom: 0.7vw;
    transition: 0.2s ease;
}
footer a:hover {
    opacity: 1;
    color:rgb(188, 171, 140);
}

/* Gemensam navbar och footer – måtten följer Shop.css. Endast aktiv länk varierar per sida. */
.navbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 5.2vw !important;
    box-sizing: border-box !important;
    background-color: rgba(40, 25, 15, 0.55) !important;
    position: relative !important;
    z-index: 10 !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    min-height: 0 !important;
}
.nav-logo { display: flex !important; align-items: center !important; flex: 0 0 auto !important; }
.nav-logo img {
    width: 15vw !important; height: 13vw !important; max-width: none !important;
    object-fit: contain !important; display: block !important; padding-top: 0.4vw !important;
}
.nav-links { display: flex !important; align-items: center !important; justify-content: flex-end !important; gap: 3vw !important; max-width: none !important; flex-wrap: nowrap !important; }
.nav-links a {
    color: white; font-family: "Bank", sans-serif !important;
    font-size: clamp(13px, 1vw, 18px) !important; letter-spacing: 0.1vw !important;
    text-decoration: none !important; display: flex !important; align-items: center !important;
    white-space: nowrap !important; transition: color 0.2s ease, transform 0.2s ease !important;
}
.nav-links a:hover { color: #d8b08c !important; transform: translateY(-1px) !important; }
.nav-links a.aktiv { color: #d8b08c !important; }
.nav-links a img { width: 1.8vw !important; height: 1.8vw !important; min-width: 22px !important; min-height: 22px !important; object-fit: contain !important; display: block !important; }
footer {
    background-color: rgb(40, 25, 15) !important; color: white !important;
    padding: 3.5vw 8vw !important; display: grid !important;
    grid-template-columns: 2fr repeat(3, 1fr) !important; gap: 3vw !important;
    box-sizing: border-box !important; width: 100% !important;
}
footer .footer-brand img, footer > div:first-child > img { width: 7vw !important; max-width: none !important; height: auto !important; object-fit: contain !important; display: block !important; padding-top: 1.2vw !important; }
footer h4 { margin: 0 0 1.2vw !important; font-family: "Bank", sans-serif !important; font-size: 1.1vw !important; letter-spacing: 0.15vw !important; color: white !important; opacity: 0.55 !important; }
footer a { display: block !important; color: white !important; text-decoration: none !important; font-family: "Creato", sans-serif !important; font-size: 0.95vw !important; opacity: 0.75 !important; margin-bottom: 0.7vw !important; transition: 0.2s ease !important; }
footer a:hover { color: #d8b08c !important; }
@media (max-width: 760px) {
  .navbar { padding: 0 5.2vw !important; }
  .nav-logo img { width: 15vw !important; height: 13vw !important; }
  .nav-links { gap: 2vw !important; }
  .nav-links a { font-size: clamp(10px, 1.6vw, 13px) !important; }
  .nav-links a img { width: 22px !important; height: 22px !important; }
  footer { grid-template-columns: 2fr repeat(3, 1fr) !important; gap: 2vw !important; padding: 3.5vw 5vw !important; }
  footer h4 { font-size: clamp(10px, 1.5vw, 12px) !important; }
  footer a { font-size: clamp(10px, 1.4vw, 12px) !important; }
}



/* RESPONSIVITET – endast responsiva tillägg */
@media (max-width: 900px) {
  html, body { max-width: 100%; }
  img, video, iframe { max-width: 100%; }
  .navbar { min-height: 72px; height: auto; padding: 12px 4%; gap: 14px; flex-wrap: wrap; }
  .nav-logo { flex: 0 0 auto; }
  .nav-logo img { width: clamp(95px, 18vw, 145px); height: auto; max-height: 76px; }
  .nav-links { gap: clamp(10px, 2vw, 20px); flex-wrap: wrap; justify-content: center; }
  .nav-links a { font-size: clamp(11px, 1.6vw, 15px); letter-spacing: .04em; }
}
@media (max-width: 600px) {
  .navbar { justify-content: center; padding: 10px 4%; }
  .nav-logo img { width: 105px; max-height: 58px; }
  .nav-links { width: 100%; gap: 10px 14px; }
  .nav-links a { font-size: 11px; white-space: normal; }
  button, input, select, textarea { max-width: 100%; }
  p, li { overflow-wrap: anywhere; }
}

@media (max-width: 900px) {
  .Text1, .Text2, .Text3, .Text4, .Text5, .Text6, .Text7, .Text8, .Text9, .Text10,
  .Lista1, .Backgrund1, .Backgrund2, .Backgrund7, .Backgrund8, .Backgrund9, .Backgrund10, .Backgrund11, .Bild1 {
    grid-row: auto; max-width: 100%;
  }
  .Lista1 { flex-wrap: wrap; gap: 24px; }
  .Lista1 section { width: min(100%, 280px); }
}
@media (max-width: 600px) { .Lista1 { flex-direction: column; align-items: center; } .Lista1 section { width: 100%; } }

@media (max-width: 900px) {
  body { grid-auto-rows: auto; }
}

/* ==================================================
   KJORA – OM OSS
   Responsiv layout för desktop, surfplatta och mobil
   ================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: clip;
}

body {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: auto;
    align-content: start;
    gap: 0;

    background-color: #352c27;
    background-image: url("Bilder/Mönster4.png");
    background-repeat: repeat;
    color: white;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

/* ================= NAVIGATION ================= */

.navbar {
    grid-column: 1 / -1;
    grid-row: auto;

    width: 100%;
    min-width: 0;
    min-height: 90px;
    height: auto;

    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px;

    padding: 10px clamp(20px, 5vw, 80px) !important;

    background-color: rgba(40, 25, 15, 0.94) !important;
}

.nav-logo {
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
}

.nav-logo img {
    display: block !important;
    width: clamp(95px, 12vw, 150px) !important;
    height: 70px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    padding: 0 !important;
}

.nav-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: clamp(10px, 2vw, 28px) !important;
    min-width: 0;
}

.nav-links a {
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;

    color: white;
    font-family: "Bank", sans-serif !important;
    font-size: clamp(11px, 1vw, 16px) !important;
    letter-spacing: 0.04em !important;
}

.nav-links a:hover,
.nav-links a.aktiv {
    color: #d8b08c !important;
}

.nav-links a img {
    display: block !important;
    width: 27px !important;
    height: 27px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    object-fit: contain !important;
}

/* ================= BILDER I ÖVRE DELEN ================= */

/* De två första bilderna får samma bredd och höjd. */

.Backgrund1,
.Backgrund11 {
    grid-row: auto;
    width: 100% !important;
    height: clamp(260px, 36vw, 520px) !important;
    min-width: 0;
    padding: 0;

    display: block;
    object-fit: cover;
    object-position: center;
}

.Backgrund1 {
    grid-column: 1 / 7;
}

.Backgrund11 {
    grid-column: 7 / 13;
}

/* ================= VÄRDEORD ================= */

/* Den gamla vita bakgrundssektionen ersätts av
   bakgrunden på själva värdeordsraden. */

.Backgrund2 {
    display: none !important;
}

.Lista1 {
    grid-column: 1 / -1;
    grid-row: auto;

    width: 100%;
    min-width: 0;
    margin: 0;
    padding: clamp(28px, 4vw, 60px) clamp(20px, 6vw, 90px);

    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    justify-content: center;
    gap: clamp(12px, 2vw, 28px);

    list-style: none;
    background-color: #f1e5d9;
}

.Lista1 section {
    width: 100% !important;
    min-width: 0;
    min-height: clamp(100px, 13vw, 175px);
    height: auto !important;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    outline: 1px solid #c8a77e !important;
    outline-offset: 0;

    color: #35251b;
    font-family: "Creato", sans-serif !important;
    font-size: clamp(13px, 1.4vw, 21px) !important;
    line-height: 1.4;
    text-align: center;
    overflow-wrap: anywhere;
}

/* ================= OM KJORA ================= */

/* Den tomma sektionen används inte som ett separat
   rutnätsobjekt eftersom den annars skapar en tom rad. */

.Backgrund9 {
    display: none !important;
}

.Backgrund7 {
    grid-column: 2 / 7;
    grid-row: auto;

    width: 100% !important;
    height: 100% !important;
    min-width: 0;
    min-height: 320px;

    display: block;
    align-self: stretch;
    object-fit: cover;
    object-position: center;

    padding: 0;
    margin: 0;
}

.Backgrund8 {
    grid-column: 7 / 12;
    grid-row: auto;

    width: 100% !important;
    min-width: 0;
    height: 100% !important;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: clamp(28px, 4vw, 60px);
    margin: 0;

    background-color: rgba(40, 31, 26, 0.82);
    outline: none !important;
}

.Backgrund8 h1 {
    width: 100%;
    margin: 0 0 24px !important;

    color: #f4dfb7 !important;
    font-family: "Butler", serif !important;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.2;
    text-align: center;
}

.Backgrund8 h3 {
    width: 100%;
    max-width: 650px;
    margin: 0 !important;

    color: white !important;
    font-family: "Creato", sans-serif !important;
    font-size: clamp(14px, 1.15vw, 17px);
    font-weight: normal;
    line-height: 1.85;
    letter-spacing: 0;
    text-align: left;
    overflow-wrap: anywhere;
}

/* ================= FOOTER ================= */

footer {
    grid-column: 1 / -1;
    grid-row: auto;

    width: 100%;
    min-width: 0;
    margin: 0;

    display: grid !important;
    grid-template-columns: 2fr repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(20px, 3vw, 48px) !important;

    padding: clamp(30px, 3.5vw, 55px) clamp(24px, 8vw, 120px) !important;

    background-color: rgb(40, 25, 15) !important;
    color: white !important;
}

footer > div {
    min-width: 0;
}

footer .footer-brand img,
footer > div:first-child > img {
    display: block;
    width: clamp(95px, 8vw, 140px) !important;
    max-width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    object-fit: contain;
}

.footer-brand p {
    margin: 12px 0 0;
    color: white;
    font-family: "Butler", serif;
    font-size: clamp(12px, 1vw, 16px);
    line-height: 1.5;
}

footer h4 {
    margin: 0 0 14px !important;
    color: white !important;
    font-family: "Bank", sans-serif !important;
    font-size: clamp(12px, 1vw, 15px) !important;
    letter-spacing: 0.08em !important;
    opacity: 0.65;
}

footer a {
    display: block;
    margin-bottom: 9px !important;
    color: white !important;
    font-family: "Creato", sans-serif !important;
    font-size: clamp(12px, 0.95vw, 15px) !important;
    line-height: 1.5;
    overflow-wrap: anywhere;
    opacity: 0.8;
}

footer a:hover {
    color: #d8b08c !important;
    opacity: 1;
}

/* ==================================================
   SURFPLATTA
   ================================================== */

@media (max-width: 900px) {
    .navbar {
        min-height: 76px;
        padding: 10px 24px !important;
        gap: 14px;
    }

    .nav-logo img {
        width: 100px !important;
        height: 58px !important;
    }

    .nav-links {
        gap: clamp(8px, 1.5vw, 15px) !important;
    }

    .nav-links a {
        font-size: clamp(10px, 1.4vw, 13px) !important;
        letter-spacing: 0.02em !important;
    }

    .Backgrund1,
    .Backgrund11 {
        height: clamp(230px, 34vw, 340px) !important;
    }

    .Lista1 {
        padding: 28px 24px;
        gap: 14px;
    }

    .Lista1 section {
        min-height: 100px;
        font-size: clamp(12px, 1.8vw, 16px) !important;
    }

    .Backgrund7 {
        grid-column: 1 / 7;
        min-height: 300px;
    }

    .Backgrund8 {
        grid-column: 7 / 13;
        padding: 26px 22px;
    }

    .Backgrund8 h1 {
        margin-bottom: 18px !important;
        font-size: clamp(25px, 3.5vw, 34px);
    }

    .Backgrund8 h3 {
        font-size: clamp(13px, 1.6vw, 15px);
        line-height: 1.7;
    }

    footer {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 28px 22px !important;
        padding: 30px 5% !important;
    }

    footer .footer-brand {
        grid-column: 1 / -1;
    }
}

/* ==================================================
   MOBIL
   ================================================== */

@media (max-width: 600px) {
    .navbar {
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px;
        padding: 10px 12px 14px !important;
    }

    .nav-logo img {
        width: 90px !important;
        height: 54px !important;
    }

    .nav-links {
        width: 100%;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 10px 13px !important;
    }

    .nav-links a {
        font-size: 11px !important;
        white-space: nowrap !important;
    }

    .nav-links a img {
        width: 22px !important;
        height: 22px !important;
    }

    /* Två bilder staplas och får samma proportioner. */

    .Backgrund1,
    .Backgrund11 {
        grid-column: 1 / -1;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    /* Fyra jämnstora värdeord i två kolumner. */

    .Lista1 {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 24px 16px;
    }

    .Lista1 section {
        min-height: 95px;
        padding: 12px 6px;
        font-size: 14px !important;
    }

    /* Bilden och texten om Kjora staplas. */

    .Backgrund7 {
        grid-column: 1 / -1;
        grid-row: auto;

        width: 100% !important;
        height: auto !important;
        min-height: 0;
        aspect-ratio: 4 / 3;

        object-fit: cover;
        object-position: center;
    }

    .Backgrund8 {
        grid-column: 1 / -1;
        grid-row: auto;

        width: 100% !important;
        height: auto !important;
        min-height: 0;
        padding: 32px 22px 38px;
    }

    .Backgrund8 h1 {
        margin-bottom: 18px !important;
        font-size: clamp(28px, 7vw, 36px);
    }

    .Backgrund8 h3 {
        max-width: 560px;
        font-size: 14px;
        line-height: 1.8;
    }

    footer {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 26px 18px !important;
        padding: 28px 20px !important;
    }

    footer .footer-brand {
        grid-column: 1 / -1;
    }

    footer .footer-brand img,
    footer > div:first-child > img {
        width: 105px !important;
    }

    footer h4 {
        margin-bottom: 12px !important;
        font-size: 12px !important;
    }

    footer a {
        margin-bottom: 9px !important;
        font-size: 12px !important;
    }
}

/* ==================================================
   MYCKET SMÅ MOBILER
   ================================================== */

@media (max-width: 380px) {
    .nav-links {
        gap: 9px 10px !important;
    }

    .nav-links a {
        font-size: 10px !important;
    }

    .Lista1 {
        gap: 10px;
        padding: 20px 12px;
    }

    .Lista1 section {
        min-height: 82px;
        font-size: 12px !important;
    }

    .Backgrund8 {
        padding: 28px 16px 32px;
    }

    .Backgrund8 h1 {
        font-size: 27px;
    }

    .Backgrund8 h3 {
        font-size: 13px;
    }

    footer {
        padding: 24px 14px !important;
        gap: 22px 12px !important;
    }
}
